import Base from './base'

const api = new Base();

// 修改个人信息
export const addOrder = (params) => api.post("/userOrder", params);
export const addPay = (orderId) => api.post(`/userOrder/pay/${orderId}`);
export const confirmOrder = (orderId) => api.post(`/userOrder/confirm/${orderId}`);
export const getOrderList = (params) => api.get(`/userOrder/page`, params);
